import request from '@/sheep/request';

export default {
    // 工资条详情
	salary_slipViewAPI: (params) =>
    request({
        url: '/api/salary_slip/view',
        method: 'GET',
        custom: {
            showSuccess: false,
            successMsg: '',
            showError: true,
            errorMsg: '',
            showLoading: true,
            loadingMsg: '加载中',
            auth: true,
        },
        params,
    }),
    // 工资条列表
    salary_slipIndexAPI: (params) =>
    request({
        url: '/api/salary_slip/index',
        method: 'GET',
        params,
        custom: {
            showSuccess: false,
            successMsg: '',
            showError: true,
            errorMsg: '',
            showLoading: true,
            loadingMsg: '加载中',
            auth: true,
        },
    })
}